﻿using System;
using System.Collections;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;

using Ccit.Utils;

namespace Ccit.OA.Scheduler
{
    public partial class scheduler_mySch_tree : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {

        }

        protected void Calendar1_SelectionChanged(object sender, EventArgs e)
        {
            lbDate.Value = Calendar1.SelectedDate.Date.ToString("yyyy-MM-dd").Trim();
            string sParam = "RangeType=DAY&sQsrq=" + lbDate.Value + "&sJzrq=" + lbDate.Value;
            string encodeparam = Base64Lib.Encode(sParam);
            ScriptManager.RegisterStartupScript(this.updatePanel, this.GetType(), "updateScript", "doSeach('" + encodeparam + "')", true);
        }

    }
}   
